<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/swiper.min.css"/>
    <style>
        html, body{
            height: 100%;
        }
        .swiper-container{
            width: 100%;
            height: 100%;
        }
        .swiper-container-scrollbar .swiper-slide{
            height: auto;
        }
    </style>
</head>
<body>
<div class="swiper-container swiper-container-v">
    <div class="swiper-wrapper">
        <div class="swiper-slide">Vertical Slide 1</div>
        <div class="swiper-slide">
            <div class="swiper-container swiper-container-scrollbar">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <h3>title</h3>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>
                        <p>this is a p tag</p>


                    </div>
                </div>
                <div class="swiper-scrollbar"></div>
            </div>
        </div>
        <div class="swiper-slide">Vertical Slide 3</div>
        <div class="swiper-slide">Vertical Slide 4</div>
    </div>
</div>

<script type="text/javascript" src="js/swiper.min.js"></script>
<script>
    var swiperV = new Swiper('.swiper-container-v', {
        direction: 'vertical'
    });

    var swiperScrollbar = new Swiper('.swiper-container-scrollbar', {
        scrollbar: '.swiper-container-scrollbar .swiper-scrollbar',
        direction: 'vertical',
        slidesPerView: 'auto',
        mousewheelControl: true,
        freeMode: true,
        nested: true
    });
</script>
</body>
</html>